<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exception Diagnostic: ex_diag::collector_t Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exception Diagnostic
   &#160;<span id="projectnumber">1.0.2</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceex__diag.html">ex_diag</a>      </li>
      <li class="navelem"><a class="el" href="classex__diag_1_1collector__t.html">collector_t</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ex_diag::collector_t Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ex_diag::collector_t" -->
<p>Collects info about failure.  
 <a href="classex__diag_1_1collector__t.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="collector_8hpp_source.html">collector.hpp</a>&gt;</code></p>

<p><a href="classex__diag_1_1collector__t-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#aba4b4a133002ba4fb578834c318849c8">collector_t</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Default ctor.  <a href="#aba4b4a133002ba4fb578834c318849c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#a97f1f448907bfd3c91837b40e7941a82">~collector_t</a> ()  throw ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#a759cd525851d2517bed9c740b6a71785">add</a> (const std::string &amp;<a class="el" href="classex__diag_1_1collector__t.html#a59248ff0167515d7619dcc70234a83f7">info</a>)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add info to collector.  <a href="#a759cd525851d2517bed9c740b6a71785"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#a59248ff0167515d7619dcc70234a83f7">info</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get collected info.  <a href="#a59248ff0167515d7619dcc70234a83f7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#af16783d372d99e3a95e28cac94971cde">clear</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear collected info.  <a href="#af16783d372d99e3a95e28cac94971cde"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#ac67dd923f7d028bbe18023489076320b">have_actual_info</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Have smth new info or not.  <a href="#ac67dd923f7d028bbe18023489076320b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#ac974b437d97a2549facb2f78e300fa99">set_delimiter</a> (const std::string &amp;delimiter)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set delimiter at adding.  <a href="#ac974b437d97a2549facb2f78e300fa99"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#a6a40e26d7292de4c7522b78a392e1611">dump</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get info from collector and dump according to the actual options.  <a href="#a6a40e26d7292de4c7522b78a392e1611"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#a573e31e676c6406876bd829b5c81a950">empty</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Empty collector or not.  <a href="#a573e31e676c6406876bd829b5c81a950"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#ae2d30b0641463d52ca17247e1e410f0d">m_have_actual_info</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">All info was got or not.  <a href="#ae2d30b0641463d52ca17247e1e410f0d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#ab459a91615675135041b14fac69f4819">m_info</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">All collected info.  <a href="#ab459a91615675135041b14fac69f4819"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classex__diag_1_1collector__t.html#ab8c26e3e9263d7072e5c592ba89c5661">m_delimiter</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Delimiter between pieces of collection.  <a href="#ab8c26e3e9263d7072e5c592ba89c5661"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Collects info about failure. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aba4b4a133002ba4fb578834c318849c8"></a><!-- doxytag: member="ex_diag::collector_t::collector_t" ref="aba4b4a133002ba4fb578834c318849c8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classex__diag_1_1collector__t.html#aba4b4a133002ba4fb578834c318849c8">ex_diag::collector_t::collector_t</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Default ctor. </p>
<p>Info empty, delimiter is "\n". </p>

</div>
</div>
<a class="anchor" id="a97f1f448907bfd3c91837b40e7941a82"></a><!-- doxytag: member="ex_diag::collector_t::~collector_t" ref="a97f1f448907bfd3c91837b40e7941a82" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classex__diag_1_1collector__t.html#a97f1f448907bfd3c91837b40e7941a82">ex_diag::collector_t::~collector_t</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td>  throw ()</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Trying to <a class="el" href="classex__diag_1_1collector__t.html#a6a40e26d7292de4c7522b78a392e1611" title="Get info from collector and dump according to the actual options.">dump()</a> if not empty. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a759cd525851d2517bed9c740b6a71785"></a><!-- doxytag: member="ex_diag::collector_t::add" ref="a759cd525851d2517bed9c740b6a71785" args="(const std::string &amp;info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classex__diag_1_1collector__t.html#a759cd525851d2517bed9c740b6a71785">ex_diag::collector_t::add</a> </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>info</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add info to collector. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>usually one piece of info. </dd></dl>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">info</td><td>One piece of information to collect. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af16783d372d99e3a95e28cac94971cde"></a><!-- doxytag: member="ex_diag::collector_t::clear" ref="af16783d372d99e3a95e28cac94971cde" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classex__diag_1_1collector__t.html#af16783d372d99e3a95e28cac94971cde">ex_diag::collector_t::clear</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Clear collected info. </p>

</div>
</div>
<a class="anchor" id="a6a40e26d7292de4c7522b78a392e1611"></a><!-- doxytag: member="ex_diag::collector_t::dump" ref="a6a40e26d7292de4c7522b78a392e1611" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classex__diag_1_1collector__t.html#a6a40e26d7292de4c7522b78a392e1611">ex_diag::collector_t::dump</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get info from collector and dump according to the actual options. </p>
<dl class="note"><dt><b>Note:</b></dt><dd>clear internal info of collector. </dd></dl>

</div>
</div>
<a class="anchor" id="a573e31e676c6406876bd829b5c81a950"></a><!-- doxytag: member="ex_diag::collector_t::empty" ref="a573e31e676c6406876bd829b5c81a950" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classex__diag_1_1collector__t.html#a573e31e676c6406876bd829b5c81a950">ex_diag::collector_t::empty</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Empty collector or not. </p>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td>empty. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac67dd923f7d028bbe18023489076320b"></a><!-- doxytag: member="ex_diag::collector_t::have_actual_info" ref="ac67dd923f7d028bbe18023489076320b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classex__diag_1_1collector__t.html#ac67dd923f7d028bbe18023489076320b">ex_diag::collector_t::have_actual_info</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Have smth new info or not. </p>
<dl class="retval"><dt><b>Return values:</b></dt><dd>
  <table class="retval">
    <tr><td class="paramname">true</td><td><a class="el" href="classex__diag_1_1collector__t.html#a759cd525851d2517bed9c740b6a71785" title="Add info to collector.">add()</a> was, but later <a class="el" href="classex__diag_1_1collector__t.html#a59248ff0167515d7619dcc70234a83f7" title="Get collected info.">info()</a> not. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a59248ff0167515d7619dcc70234a83f7"></a><!-- doxytag: member="ex_diag::collector_t::info" ref="a59248ff0167515d7619dcc70234a83f7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classex__diag_1_1collector__t.html#a59248ff0167515d7619dcc70234a83f7">ex_diag::collector_t::info</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get collected info. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>all collected info. </dd></dl>

</div>
</div>
<a class="anchor" id="ac974b437d97a2549facb2f78e300fa99"></a><!-- doxytag: member="ex_diag::collector_t::set_delimiter" ref="ac974b437d97a2549facb2f78e300fa99" args="(const std::string &amp;delimiter)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classex__diag_1_1collector__t.html#ac974b437d97a2549facb2f78e300fa99">ex_diag::collector_t::set_delimiter</a> </td>
          <td>(</td>
          <td class="paramtype">const std::string &amp;&#160;</td>
          <td class="paramname"><em>delimiter</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set delimiter at adding. </p>
<dl class="params"><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">delimiter</td><td>Delimiter of collecting. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="ab8c26e3e9263d7072e5c592ba89c5661"></a><!-- doxytag: member="ex_diag::collector_t::m_delimiter" ref="ab8c26e3e9263d7072e5c592ba89c5661" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classex__diag_1_1collector__t.html#ab8c26e3e9263d7072e5c592ba89c5661">ex_diag::collector_t::m_delimiter</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Delimiter between pieces of collection. </p>

</div>
</div>
<a class="anchor" id="ae2d30b0641463d52ca17247e1e410f0d"></a><!-- doxytag: member="ex_diag::collector_t::m_have_actual_info" ref="ae2d30b0641463d52ca17247e1e410f0d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classex__diag_1_1collector__t.html#ae2d30b0641463d52ca17247e1e410f0d">ex_diag::collector_t::m_have_actual_info</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>All info was got or not. </p>

</div>
</div>
<a class="anchor" id="ab459a91615675135041b14fac69f4819"></a><!-- doxytag: member="ex_diag::collector_t::m_info" ref="ab459a91615675135041b14fac69f4819" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classex__diag_1_1collector__t.html#ab459a91615675135041b14fac69f4819">ex_diag::collector_t::m_info</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>All collected info. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="collector_8hpp_source.html">collector.hpp</a></li>
<li><a class="el" href="collector_8cpp.html">collector.cpp</a></li>
</ul>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 30 2013 23:49:56 for Exception Diagnostic by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6
</small></address>

</body>
</html>
